set_property PACKAGE_PIN Y18 [get_ports clk]
set_property PACKAGE_PIN P1 [get_ports rst_i]

set_property PACKAGE_PIN W4 [get_ports key[0]]
set_property PACKAGE_PIN R4 [get_ports key[1]]
set_property PACKAGE_PIN T4 [get_ports key[2]]
set_property PACKAGE_PIN T5 [get_ports key[3]]
set_property PACKAGE_PIN U5 [get_ports key[4]]
set_property PACKAGE_PIN W6 [get_ports key[5]]
set_property PACKAGE_PIN W5 [get_ports key[6]]
set_property PACKAGE_PIN U6 [get_ports key[7]]
set_property PACKAGE_PIN V5 [get_ports key[8]]
set_property PACKAGE_PIN R6 [get_ports key[9]]
set_property PACKAGE_PIN T6 [get_ports key[10]]
set_property PACKAGE_PIN Y6 [get_ports key[11]]
set_property PACKAGE_PIN AA6 [get_ports key[12]]
set_property PACKAGE_PIN V7 [get_ports key[13]]
set_property PACKAGE_PIN AB7 [get_ports key[14]]
set_property PACKAGE_PIN AB6 [get_ports key[15]]
set_property PACKAGE_PIN V9 [get_ports key[16]]
set_property PACKAGE_PIN V8 [get_ports key[17]]
set_property PACKAGE_PIN AA8 [get_ports key[18]]
set_property PACKAGE_PIN AB8 [get_ports key[19]]
set_property PACKAGE_PIN Y8 [get_ports key[20]]
set_property PACKAGE_PIN Y7 [get_ports key[21]]
set_property PACKAGE_PIN W9 [get_ports key[22]]
set_property PACKAGE_PIN Y9 [get_ports key[23]]

set_property PACKAGE_PIN J17 [get_ports led[0]]
set_property PACKAGE_PIN L14 [get_ports led[1]]
set_property PACKAGE_PIN L15 [get_ports led[2]]
set_property PACKAGE_PIN L16 [get_ports led[3]]
set_property PACKAGE_PIN K16 [get_ports led[4]]
set_property PACKAGE_PIN M15 [get_ports led[5]]
set_property PACKAGE_PIN M16 [get_ports led[6]]
set_property PACKAGE_PIN M17 [get_ports led[7]]
set_property PACKAGE_PIN N19 [get_ports led[8]]
set_property PACKAGE_PIN N20 [get_ports led[9]]
set_property PACKAGE_PIN M20 [get_ports led[10]]
set_property PACKAGE_PIN K13 [get_ports led[11]]
set_property PACKAGE_PIN K14 [get_ports led[12]]
set_property PACKAGE_PIN M13 [get_ports led[13]]
set_property PACKAGE_PIN L13 [get_ports led[14]]
set_property PACKAGE_PIN K17 [get_ports led[15]]

set_property PACKAGE_PIN C19 [get_ports led0_en_o]
set_property PACKAGE_PIN E19 [get_ports led1_en_o]
set_property PACKAGE_PIN D19 [get_ports led2_en_o]
set_property PACKAGE_PIN F18 [get_ports led3_en_o]
set_property PACKAGE_PIN E18 [get_ports led4_en_o]
set_property PACKAGE_PIN B20 [get_ports led5_en_o]
set_property PACKAGE_PIN A20 [get_ports led6_en_o]
set_property PACKAGE_PIN A18 [get_ports led7_en_o]
set_property PACKAGE_PIN F15 [get_ports led_ca_o]
set_property PACKAGE_PIN F13 [get_ports led_cb_o]
set_property PACKAGE_PIN F14 [get_ports led_cc_o]
set_property PACKAGE_PIN F16 [get_ports led_cd_o]
set_property PACKAGE_PIN E17 [get_ports led_ce_o]
set_property PACKAGE_PIN C14 [get_ports led_cf_o]
set_property PACKAGE_PIN C15 [get_ports led_cg_o]
set_property PACKAGE_PIN E13 [get_ports led_dp_o]

set_property IOSTANDARD LVCMOS33 [get_ports clk]
set_property IOSTANDARD LVCMOS33 [get_ports rst_i]

set_property IOSTANDARD LVCMOS33 [get_ports key[0]]
set_property IOSTANDARD LVCMOS33 [get_ports key[1]]
set_property IOSTANDARD LVCMOS33 [get_ports key[2]]
set_property IOSTANDARD LVCMOS33 [get_ports key[3]]
set_property IOSTANDARD LVCMOS33 [get_ports key[4]]
set_property IOSTANDARD LVCMOS33 [get_ports key[5]]
set_property IOSTANDARD LVCMOS33 [get_ports key[6]]
set_property IOSTANDARD LVCMOS33 [get_ports key[7]]
set_property IOSTANDARD LVCMOS33 [get_ports key[8]]
set_property IOSTANDARD LVCMOS33 [get_ports key[9]]
set_property IOSTANDARD LVCMOS33 [get_ports key[10]]
set_property IOSTANDARD LVCMOS33 [get_ports key[11]]
set_property IOSTANDARD LVCMOS33 [get_ports key[12]]
set_property IOSTANDARD LVCMOS33 [get_ports key[13]]
set_property IOSTANDARD LVCMOS33 [get_ports key[14]]
set_property IOSTANDARD LVCMOS33 [get_ports key[15]]
set_property IOSTANDARD LVCMOS33 [get_ports key[16]]
set_property IOSTANDARD LVCMOS33 [get_ports key[17]]
set_property IOSTANDARD LVCMOS33 [get_ports key[18]]
set_property IOSTANDARD LVCMOS33 [get_ports key[19]]
set_property IOSTANDARD LVCMOS33 [get_ports key[20]]
set_property IOSTANDARD LVCMOS33 [get_ports key[21]]
set_property IOSTANDARD LVCMOS33 [get_ports key[22]]
set_property IOSTANDARD LVCMOS33 [get_ports key[23]]

set_property IOSTANDARD LVCMOS33 [get_ports led[0]]
set_property IOSTANDARD LVCMOS33 [get_ports led[1]]
set_property IOSTANDARD LVCMOS33 [get_ports led[2]]
set_property IOSTANDARD LVCMOS33 [get_ports led[3]]
set_property IOSTANDARD LVCMOS33 [get_ports led[4]]
set_property IOSTANDARD LVCMOS33 [get_ports led[5]]
set_property IOSTANDARD LVCMOS33 [get_ports led[6]]
set_property IOSTANDARD LVCMOS33 [get_ports led[7]]
set_property IOSTANDARD LVCMOS33 [get_ports led[8]]
set_property IOSTANDARD LVCMOS33 [get_ports led[9]]
set_property IOSTANDARD LVCMOS33 [get_ports led[10]]
set_property IOSTANDARD LVCMOS33 [get_ports led[11]]
set_property IOSTANDARD LVCMOS33 [get_ports led[12]]
set_property IOSTANDARD LVCMOS33 [get_ports led[13]]
set_property IOSTANDARD LVCMOS33 [get_ports led[14]]
set_property IOSTANDARD LVCMOS33 [get_ports led[15]]

set_property IOSTANDARD LVCMOS33 [get_ports led0_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led1_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led2_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led3_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led4_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led5_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led6_en_o]
set_property IOSTANDARD LVCMOS33 [get_ports led7_en_o]

set_property IOSTANDARD LVCMOS33 [get_ports led_ca_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_cb_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_cc_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_cd_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_ce_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_cf_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_cg_o]
set_property IOSTANDARD LVCMOS33 [get_ports led_dp_o]